//
//  GameScene.m
//  Soccer
//
//  Created by Hyun-Woong Kim on 09. 04. 23.
//  Copyright 2009 __MyCompanyName__. All rights reserved.
//

#import "GameScene.h"
#import "ClientManager.h"
#import "NetworkManager.h"

@implementation GameScene

@synthesize gameLayer, inputLayer;

- (id)init
{	
	if (self = [super init])
	{
		gameLayer = [[GameLayer alloc] init];
		[self addChild:gameLayer];
		
		inputLayer = [[InputLayer alloc] init];
		[self addChild:inputLayer];

		[[ClientManager sharedManager] startGameWithLayer:gameLayer];
		
		// 네트웍
		[[NetworkManager sharedNetworkManager] networkSetting];
	}
	
	return self;
}

- (void)dealloc
{
	[gameLayer release];
	[inputLayer release];
	[super dealloc];
}

@end
